﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataAccess
{
    public class FS0203_SubDataAccess:FSBase_DataAccess
    {
        #region 保存
        public void Save(List<string> Items, string strRequirementContent)
        {
            StringBuilder strSql = new StringBuilder();
            string strItemID = "";
            foreach (var item in Items)
            {
                strItemID += item + ",";
            }
            strItemID = strItemID.Substring(0, strItemID.Length - 1);
            strSql.AppendLine("   update tOrder set vcRequirementContent = '" + strRequirementContent + "' where iAutoID in (" + strItemID + ")  ");
            update(strSql.ToString());
        }
        #endregion
    }
}
